home *** CD-ROM | disk | FTP | other *** search
/ Software of the Month Club 2000 October / Software of the Month - Ultimate Collection Shareware 277.iso / pc / PROGRAMS / UTILITY / WINLINUX / DATA1.CAB / etc_-_Configuration_Files / INITTAB < prev    next >
Text File  |  1999-09-17  |  2KB  |  51 lines

  1.  
  2. # Default runlevel
  3. id:4:initdefault:
  4.  
  5. # System initialization (runs when system boots).
  6. si:S:sysinit:/etc/rc.d/rc.S
  7.  
  8. # Script to run when going single user (runlevel 1).
  9. su:1S:wait:/etc/rc.d/rc.K
  10.  
  11. # Script to run when going multi user.
  12. rc:2345:wait:/etc/rc.d/rc.M
  13.  
  14. # What to do when crtl+alt+del is pressed
  15. ca::ctrlaltdel:/sbin/shutdown -t5 -rf now
  16.  
  17. # Runlevel 0 halts the system.
  18. l0:0:wait:/etc/rc.d/rc.0
  19.  
  20. # Runlevel 6 reboots the system.
  21. l6:6:wait:/etc/rc.d/rc.6
  22.  
  23. # What to do when power fails (shutdown to single user).
  24. pf::powerfail:/sbin/shutdown -f +5 "THE POWER IS FAILING"
  25.  
  26. # If power is back before shutdown, cancel the running shutdown.
  27. pg:0123456:powerokwait:/sbin/shutdown -c "THE POWER IS BACK"
  28.  
  29. # If power comes back in single user mode, return to multi user mode.
  30. ps:S:powerokwait:/sbin/init 3
  31.  
  32. # Note: for 'agetty' you use linespeed, line.
  33. # for 'getty_ps' you use line, linespeed and also use 'gettydefs'
  34. c1:1235:respawn:/sbin/agetty 38400 tty1 linux
  35. c2:1235:respawn:/sbin/agetty 38400 tty2 linux
  36. c3:1235:respawn:/sbin/agetty 38400 tty3 linux
  37. c4:1235:respawn:/sbin/agetty 38400 tty4 linux
  38. c5:1235:respawn:/sbin/agetty 38400 tty5 linux
  39. c6:12345:respawn:/sbin/agetty 38400 tty6 linux
  40.  
  41. # Serial lines
  42. #s1:12345:respawn:/sbin/agetty 19200 ttyS0 vt100
  43. #s2:12345:respawn:/sbin/agetty 19200 ttyS1 vt100
  44.  
  45. # Dialup lines
  46. #d1:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS0 vt100
  47. #d2:12345:respawn:/sbin/agetty -mt60 38400,19200,9600,2400,1200 ttyS1 vt100
  48.  
  49. x1:4:wait:/etc/rc.d/rc.4
  50.  
  51.